﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="RightLinkListControl.ascx.cs" Inherits="WebPartControls_RightLinkListControl" %>
<style type="text/css">
    .style1
    {
        height: 25px;
    }
</style>
<table cellpadding="0px" cellspacing="0px" style="width:100%; border:0px">
      <tr align="left">
        <td colspan="3" class="style1"></td>
      </tr>
    <tr align="left" >
        <td><asp:Image ID="Image1" runat="server" ImageUrl="~/images/服务资源.gif"/></td>
    </tr>
    <tr>
        <td align="left">
            <asp:GridView ID='NewsListGridView' runat='server' GridLines="None" BorderColor="White" ShowHeader="false" AutoGenerateColumns="false">
                <Columns>
                    <asp:TemplateField>
                        <ItemTemplate>
                            <table style="width:100%; height:24px; border: 0px;" cellspacing="0px" cellpadding="0px">
                                <tr>
                                    <td style="width:20px"></td>
                                    <td align="center" style="width:30px"><asp:Image ID="Image2" runat="server" ImageUrl="~/images/Index.jpg" /></td>
                                    <td><asp:Label ID="News_id" runat="server" Text='<%#DataBinder.Eval(Container.DataItem,"标识")%>' Visible="false"></asp:Label></td>
                                    <td align="left"><asp:HyperLink runat="server" ID="News_Title" NavigateUrl='<%#DataBinder.Eval(Container.DataItem,"链接")%>' Text='<%#DataBinder.Eval(Container.DataItem,"标题")%>' Target="_blank" CssClass="HyperLink"></asp:HyperLink></td>
                                </tr>
                            </table>
                         </ItemTemplate>
                    </asp:TemplateField>
               </Columns>
            </asp:GridView>
       </td>
    </tr>
</table>